<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改个人密码</title>
<script type="text/javascript" src="${pageContext.request.contextPath }/jquery/jquery-1.7.2.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		
		$("#pass").focus();
		
		$("#password").blur(function(){
			
			if($("#password").val() != $("#pass").val()){
				
				alert("您输入的两次密码不一致请重新输入");
				$("#pass").focus();
			}else{
				
				return true;
			}
		});
	});
</script>
</head>
<body bgcolor="#f7f7f7">
	<form action="${pageContext.request.contextPath}/manager/updatePass" method="post" target="_top">
		<table align="center" style="margin-top: 150px;background-image: url('${pageContext.request.contextPath}/images/mima.jpeg');" width="40%" height="200" border="0" cellpadding="0" cellspacing="0">
			<caption><b style="font-size: x-large;">修改个人密码</b></caption>
			<tr> 
				<th>请输入新密码</th>
				<th><input type="password" name="pass" id="pass"></th>
			</tr>
			<tr>
				<th>请重新密码</th>
				<th><input type="password" name="password" id="password"></th>
			</tr>
			<tr>
				<th><input type="submit" value="提交"></th>
				<th><input type="reset" value="取消"></th>
			</tr>
			<tfoot>
				<tr><th><div id="error"></div></th><th></th></tr>
			</tfoot>
		</table>
	</form>
</body>
</html>